
from ItemGood import *

class ItemGoodFaster(ItemGood):

	def __init__(self, image, posX, posY, fastPower):
		self.fastPower = fastPower
		ItemGood.__init__(self, image, posX, posY)

	def doBonus(self, robot):
		robot.goFaster(self.fastPower)
